package cn.lgy.basis.entity;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * (User)实体类
 *
 * @author makejava
 * @since 2021-06-02 16:15:45
 */
@Data
public class User implements Serializable {

    private Integer id;

    @NotBlank(message = "用户名不能为空")
    private String userName;

    @NotBlank(message = "密码不能为空")
    private String password;

}